package com.king.modules.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.king.common.annotation.MetaData;
import com.king.common.annotation.ObjectData;
import com.king.framework.base.domain.YyBaseEntity;

/**
 * 集团菜单中间表 Entity层
 * @author liusheng
 */
@TableName("sys_group_menu")
@MetaData(value = "集团菜单中间表")
@ObjectData(value = "集团菜单中间表")
public class SysGroupMenuEntity extends YyBaseEntity {

	@JsonSerialize(using= ToStringSerializer.class)
    @MetaData(value = "所属机构id")
    private Long ownorgid; 
    

	@JsonSerialize(using= ToStringSerializer.class)
    @MetaData(value = "菜单id")
    private Long  menuid;
    
    
    @MetaData(value = "菜单别名")
    private String  menualias;
    

	@TableField("showorder")
	public Integer showorder;

	@JsonSerialize(using= ToStringSerializer.class)
	@TableField(exist = false)
	private Long parentid;
	

	@MetaData("菜单图标 ")
	@TableField(exist = false)
	private String icon;

	public Long getOwnorgid() {
		return ownorgid;
	}


	public void setOwnorgid(Long ownorgid) {
		this.ownorgid = ownorgid;
	}


	public Long getMenuid() {
		return menuid;
	}


	public void setMenuid(Long menuid) {
		this.menuid = menuid;
	}


	public String getMenualias() {
		return menualias;
	}


	public void setMenualias(String menualias) {
		this.menualias = menualias;
	}


	public Integer getShoworder() {
		return showorder;
	}


	public void setShoworder(Integer showorder) {
		this.showorder = showorder;
	}


	public Long getParentid() {
		return parentid;
	}


	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}


	public String getIcon() {
		return icon;
	}


	public void setIcon(String icon) {
		this.icon = icon;
	}

}
